package com.banban.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UpdatePhoneDTO {
    @NotBlank(message = "原始手机号不能为空")
    private String phoneOrigin;
    @NotBlank(message = "新手机号不能为空")
    private String phoneNew;
    @NotBlank(message = "原始验证码不能为空")
    private String randomCodeOrigin;
    @NotBlank(message = "新验证码不能为空")
    private String randomCodeNew;
}
